package com.example.springboot.service;

import com.example.springboot.entity.SysMenu;

import java.util.List;

/**
 * @Author: jyf2000jyf
 * @Date: 2022/5/9
 * @Time: 23:00
 * @Email: 904593011@qq.com
 * @Description:
 **/
public interface MenuService {
    Integer save(SysMenu menu);

    List<SysMenu> findAll();

    Integer delete(Integer id);

    List<SysMenu> findAll(Integer pageNum, Integer pageSize, String name);

    Integer getAmount(String name);
}
